package com.binguo.api.form;


import java.util.Arrays;


public class TencentApiForm {

    private String[] instances;

    private Boolean forceStop;

    private String stopType;

    private String stoppedMode;

    private Boolean forceReboot;

    public Boolean getForceReboot() {
        return forceReboot;
    }

    public void setForceReboot(Boolean forceReboot) {
        this.forceReboot = forceReboot;
    }

    public String[] getInstances() {
        return instances;
    }

    public void setInstances(String[] instances) {
        this.instances = instances;
    }

    public Boolean getForceStop() {
        return forceStop;
    }

    public void setForceStop(Boolean forceStop) {
        this.forceStop = forceStop;
    }

    public String getStopType() {
        stopType =  stopType.substring(0,0) + "\"" + stopType.substring(0, stopType.length()) + "\"";
        return stopType.substring(1,stopType.length()-1);
    }

    public void setStopType(String stopType) {
        this.stopType = stopType;
    }

    public String getStoppedMode() {
        stoppedMode =  stoppedMode.substring(0,0) + "\"" + stoppedMode.substring(0, stoppedMode.length()) + "\"";
        return stoppedMode;
    }

    public void setStoppedMode(String stoppedMode) {
        this.stoppedMode = stoppedMode;
    }

    @Override
    public String toString() {
        return "TencentApiForm{" +
                "instances=" + Arrays.toString(instances) +
                ", forceStop=" + forceStop +
                ", stopType='" + stopType + '\'' +
                ", stoppedMode='" + stoppedMode + '\'' +
                '}';
    }
}
